<!-- -->
<template>
  <el-container style="height: 100%;">
    <el-aside width="auto">
      <CommonAside />
    </el-aside>
    <el-container>
      <el-header>
        <CommonHeader />
      </el-header>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import CommonAside from "../components/CommonAside";
import CommonHeader from "../components/CommonHeader";

export default {
  name: "Main",
  data() {
    return {};
  },

  components: { CommonAside, CommonHeader },

  filters: {},

  computed: {},

  methods: {}
};
</script>

<style lang="scss" scoped>
.el-header {
  background: #ecf0f1;
}
.el-aside {
  color: #333;
  text-align: left;
  line-height: 200px;
}
.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 160px;
  padding-top: 0;
}
.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}
.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>
